function scrollDoor(){
}
scrollDoor.prototype = {
sd : function(menus,divs,openClass,closeClass){
var _this = this;
if(menus.length != divs.length)
{
return false;
}
for(var i = 0 ; i < menus.length ; i++)
{
	if(_this.$(menus[i])==null) return;
_this.$(menus[i]).value = i;
_this.$(menus[i]).onmouseover = function(){
for(var j = 0 ; j < menus.length ; j++)
{
_this.$(menus[j]).className = closeClass;
_this.$(divs[j]).style.display = "none";
}
_this.$(menus[this.value]).className = openClass;
_this.$(divs[this.value]).style.display = "block";
}
}
},
$ : function(oid){
if(typeof(oid) == "string")
return document.getElementById(oid);
return oid;
}
}
window.onload = function(){
var SDmodel = new scrollDoor();
SDmodel.sd(["m01","m02","m03"],["c01","c02","c03"],"sd01","sd02");
SDmodel.sd(["mm01","mm02","mm03","mm04","mm05","mm06"],["cc01","cc02","cc03","cc04","cc05","cc06"],"sd01","sd02");
SDmodel.sd(["mmm01","mmm02"],["ccc01","ccc02"],"asd01","asd02");
SDmodel.sd(["mmmm01","mmmm02"],["cccc01","cccc02"],"asd01","asd02");
SDmodel.sd(["mmmmm01","mmmmm02"],["ccccc01","ccccc02"],"asd01","asd02");
SDmodel.sd(["mmmmmm01", "mmmmmm02", "mmmmmm03"], ["cccccc01", "cccccc02", "cccccc03"], "bsdthdsd01", "bsdthdsd02");
SDmodel.sd(["r01", "r02", "r03", "r04", "r05", "r06", "r07", "r08", "r09", "r010"], ["t01", "t02", "t03", "t04", "t05", "t06", "t07", "t08", "t09", "t010"], "rc01", "rc02");
}